package com.boot.project.domain;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;

import java.io.Serializable;

public class CourtTimeDO implements Serializable {
    // 主键ID
    private Long id;
    // 所属球场的ID
    private Long courtId;
    // 起始时间(例如9，代表9点)
    @JsonSerialize(using = CustomerDoubleSerialize.class)
    private Double startTime;
    // 结束时间(例如11，代表11点)
    @JsonSerialize(using = CustomerDoubleSerialize.class)
    private Double endTime;
    // 价格
    private Double price;
    // 时间段状态,0代表可订，1代表不可订
    private Integer status;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getCourtId() {
        return courtId;
    }

    public void setCourtId(Long courtId) {
        this.courtId = courtId;
    }

    public Double getStartTime() {
        return startTime;
    }

    public void setStartTime(Double startTime) {
        this.startTime = startTime;
    }

    public Double getEndTime() {
        return endTime;
    }

    public void setEndTime(Double endTime) {
        this.endTime = endTime;
    }

    public Double getPrice() {
        return price;
    }

    public void setPrice(Double price) {
        this.price = price;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }
}
